<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Aquamat: Plik źródłowy timersv.h (r58/r57)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Wygenerowano przez Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Strona&nbsp;główna</span></a></li>
      <li><a href="pages.html"><span>Dodatkowe&nbsp;strony</span></a></li>
      <li><a href="annotated.html"><span>Struktury&nbsp;Danych</span></a></li>
      <li class="current"><a href="files.html"><span>Pliki</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;plików</span></a></li>
      <li><a href="globals.html"><span>Globalne</span></a></li>
    </ul>
  </div>
<h1>timersv.h (r58/r57)</h1><a href="timersv_8h.html">Idź do dokumentacji tego pliku.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">    Aquamat - Sterownik akwariowy Open Source</span>
<a name="l00003"></a>00003 <span class="comment">    Copyright (C) 2009 Wojciech Todryk (wojciech@todryk.pl)</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">    This program is free software; you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment">    it under the terms of the GNU General Public License as published by</span>
<a name="l00007"></a>00007 <span class="comment">    the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment">    (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">    This program is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00013"></a>00013 <span class="comment">    GNU General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"></span>
<a name="l00015"></a>00015 <span class="comment">    You should have received a copy of the GNU General Public License</span>
<a name="l00016"></a>00016 <span class="comment">    along with this program; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment">    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00018"></a>00018 <span class="comment">    </span>
<a name="l00019"></a>00019 <span class="comment">    $Id$</span>
<a name="l00020"></a>00020 <span class="comment">*/</span>
<a name="l00021"></a>00021 
<a name="l00029"></a><a class="code" href="structTIMERV.html">00029</a> <span class="keyword">struct </span><a class="code" href="structTIMERV.html" title="Struktura przechowywująca dane o timerze interwałowym.">TIMERV</a> {
<a name="l00030"></a><a class="code" href="structTIMERV.html#a3d7c0845fa61954a3db67017479c99ce">00030</a>         uint8_t <a class="code" href="structTIMERV.html#a3d7c0845fa61954a3db67017479c99ce">off</a>;       
<a name="l00031"></a><a class="code" href="structTIMERV.html#a75adea8a413cae50a9842d61cf3b3348">00031</a>         uint8_t <a class="code" href="structTIMERV.html#a75adea8a413cae50a9842d61cf3b3348">on</a>;        
<a name="l00032"></a><a class="code" href="structTIMERV.html#a27b1e5c56b8cebe47b427930bdb1b346">00032</a>         uint8_t <a class="code" href="structTIMERV.html#a27b1e5c56b8cebe47b427930bdb1b346">out</a>;       
<a name="l00033"></a><a class="code" href="structTIMERV.html#a9816223c7a66f8c086025dd05ccd9050">00033</a>         uint8_t <a class="code" href="structTIMERV.html#a9816223c7a66f8c086025dd05ccd9050">counter</a>;   
<a name="l00048"></a><a class="code" href="structTIMERV.html#a957b43c21d0b58555b90d1bd59557fa6">00048</a>         uint8_t <a class="code" href="structTIMERV.html#a957b43c21d0b58555b90d1bd59557fa6">flags</a>;   
<a name="l00049"></a>00049 };
<a name="l00050"></a>00050 
<a name="l00053"></a><a class="code" href="timersv_8h.html#a21f98622bbd9dd2a72421e9b0192dd30">00053</a> <span class="preprocessor">#define TIMERSV_FLAG_BLOCKED 0</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00057"></a><a class="code" href="timersv_8h.html#a015dea7f941fb9dfb261215d5557b677">00057</a> <span class="preprocessor">#define TIMERSV_FLAG_BUSY 4</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>
<a name="l00061"></a><a class="code" href="timersv_8h.html#a552120e075164ff61abe2a9194527da8">00061</a> <span class="preprocessor">#define TIMERSV_FLAG_DIRECTION 5</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00065"></a><a class="code" href="timersv_8h.html#a84e080603a1d5c5ab9fde36eb5b61fa8">00065</a> <span class="preprocessor">#define TIMERSV_FLAG_CONFIG_MASK 0x0F</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00069"></a><a class="code" href="timersv_8h.html#a08fcd046ef34bd3bc84ccd43d8d26d29">00069</a> <span class="preprocessor">#define TIMERSV_MIN_SET_TIME 1</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span>
<a name="l00073"></a><a class="code" href="timersv_8h.html#a818b5ed3286e6b7405fbcc09a93e8a04">00073</a> <span class="preprocessor">#define TIMERSV_MAX_SET_TIME 99</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span>
<a name="l00077"></a><a class="code" href="timersv_8h.html#a99d5038b7840106068611cdbf0ecc1ce">00077</a> <span class="preprocessor">#define TIMERSV_DEFAULT_TIME 5</span>
<a name="l00078"></a>00078 <span class="preprocessor"></span>
<a name="l00079"></a>00079 uint8_t <a class="code" href="timersv_8c.html#aee5d232eef9ef2a0e92f06cc8bd9b203">timersv_is_valid_interval</a>(uint8_t);
<a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="timersv_8c.html#a944cb3e0af0cdee4c36951dc95bcd7de">timersv_process</a>(<span class="keywordtype">void</span>);
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structTIMERV.html" title="Struktura przechowywująca dane o timerze interwałowym.">TIMERV</a> <a class="code" href="timersv_8c.html#ae0c6ca0507ca6c0e02108cb5c294f3a2">timersv</a>[<a class="code" href="commonDefs_8h.html#a872b5785b1ac7e2261b05dbf9078237a">TIMERSV_NUM</a>];
</pre></div></div>
<hr size="1">
<div style="text-align: center;">
<small>Projekt udostępniony jest na zasadach Open Source. Zapoznaj się z warunkami licencji w pliku COPYING znajdujacym się w katalogu głównym.	</small>
</div>

<hr size="1">
<div style="text-align: center;">
Aquamat - sterownik akwarystyczny Open Source
<br/>
Copyright (C) 2009  <a href="http://todryk.pl">Wojciech Todryk</a> (wojciech(at)todryk(dot)pl)
</div>

<div style="text-align: right;">
<small>Dokumentację wygenerowano za pomocą programu&nbsp;</small>
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
<small> wersja 1.6.1 (Fri Apr 23 22:48:16 2010)&nbsp;</small>
</div>
